package com.xjrsoft.common.allenum;

public enum RequestMethodEnum {

    GET(0, "GET"),

    POST(1, "POST"),

    PUT(2, "PUT"),

    DELETE(3, "DELETE");

    final int code;
    final String value;


    public int getCode() {
        return this.code;
    }

    public String getValue() {
        return this.value;
    }

    private RequestMethodEnum(final int code, final String message) {
        this.code = code;
        this.value = message;
    }
}
